package com.yunliuchain.examination.common.service;




import com.yunliuchain.examination.common.bean.FileMeta;

import javax.servlet.http.HttpServletRequest;
import java.io.File;
import java.io.IOException;
import java.util.List;
import java.util.Map;


/**
 * @author 朱周城
 * @version 1.0
 * @date 2014年5月29日下午1:39:19
 */
public interface FileUploadService
{
	void sortFile(List<Map<String, Object>> fileList, String order);

	List<Map<String, Object>> getFileList(File currentPathFile);

	List<FileMeta> upload(HttpServletRequest request)throws IllegalStateException, IOException;
	
	public boolean deleteUploadFile(HttpServletRequest request, String filePath);


}
